package com.axin.entity.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HbTaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HbTaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNull() {
            addCriterion("symbol is null");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNotNull() {
            addCriterion("symbol is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolEqualTo(String value) {
            addCriterion("symbol =", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotEqualTo(String value) {
            addCriterion("symbol <>", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThan(String value) {
            addCriterion("symbol >", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThanOrEqualTo(String value) {
            addCriterion("symbol >=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThan(String value) {
            addCriterion("symbol <", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThanOrEqualTo(String value) {
            addCriterion("symbol <=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLike(String value) {
            addCriterion("symbol like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotLike(String value) {
            addCriterion("symbol not like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolIn(List<String> values) {
            addCriterion("symbol in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotIn(List<String> values) {
            addCriterion("symbol not in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolBetween(String value1, String value2) {
            addCriterion("symbol between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotBetween(String value1, String value2) {
            addCriterion("symbol not between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountIsNull() {
            addCriterion("buy_trade_count is null");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountIsNotNull() {
            addCriterion("buy_trade_count is not null");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountEqualTo(Integer value) {
            addCriterion("buy_trade_count =", value, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountNotEqualTo(Integer value) {
            addCriterion("buy_trade_count <>", value, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountGreaterThan(Integer value) {
            addCriterion("buy_trade_count >", value, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_trade_count >=", value, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountLessThan(Integer value) {
            addCriterion("buy_trade_count <", value, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountLessThanOrEqualTo(Integer value) {
            addCriterion("buy_trade_count <=", value, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountIn(List<Integer> values) {
            addCriterion("buy_trade_count in", values, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountNotIn(List<Integer> values) {
            addCriterion("buy_trade_count not in", values, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountBetween(Integer value1, Integer value2) {
            addCriterion("buy_trade_count between", value1, value2, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeCountNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_trade_count not between", value1, value2, "buyTradeCount");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitIsNull() {
            addCriterion("buy_trade_limit is null");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitIsNotNull() {
            addCriterion("buy_trade_limit is not null");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitEqualTo(Integer value) {
            addCriterion("buy_trade_limit =", value, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitNotEqualTo(Integer value) {
            addCriterion("buy_trade_limit <>", value, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitGreaterThan(Integer value) {
            addCriterion("buy_trade_limit >", value, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_trade_limit >=", value, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitLessThan(Integer value) {
            addCriterion("buy_trade_limit <", value, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitLessThanOrEqualTo(Integer value) {
            addCriterion("buy_trade_limit <=", value, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitIn(List<Integer> values) {
            addCriterion("buy_trade_limit in", values, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitNotIn(List<Integer> values) {
            addCriterion("buy_trade_limit not in", values, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitBetween(Integer value1, Integer value2) {
            addCriterion("buy_trade_limit between", value1, value2, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andBuyTradeLimitNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_trade_limit not between", value1, value2, "buyTradeLimit");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyIsNull() {
            addCriterion("first_money is null");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyIsNotNull() {
            addCriterion("first_money is not null");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyEqualTo(String value) {
            addCriterion("first_money =", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyNotEqualTo(String value) {
            addCriterion("first_money <>", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyGreaterThan(String value) {
            addCriterion("first_money >", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyGreaterThanOrEqualTo(String value) {
            addCriterion("first_money >=", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyLessThan(String value) {
            addCriterion("first_money <", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyLessThanOrEqualTo(String value) {
            addCriterion("first_money <=", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyLike(String value) {
            addCriterion("first_money like", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyNotLike(String value) {
            addCriterion("first_money not like", value, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyIn(List<String> values) {
            addCriterion("first_money in", values, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyNotIn(List<String> values) {
            addCriterion("first_money not in", values, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyBetween(String value1, String value2) {
            addCriterion("first_money between", value1, value2, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andFirstMoneyNotBetween(String value1, String value2) {
            addCriterion("first_money not between", value1, value2, "firstMoney");
            return (Criteria) this;
        }

        public Criteria andBuyLevelIsNull() {
            addCriterion("buy_level is null");
            return (Criteria) this;
        }

        public Criteria andBuyLevelIsNotNull() {
            addCriterion("buy_level is not null");
            return (Criteria) this;
        }

        public Criteria andBuyLevelEqualTo(String value) {
            addCriterion("buy_level =", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelNotEqualTo(String value) {
            addCriterion("buy_level <>", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelGreaterThan(String value) {
            addCriterion("buy_level >", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelGreaterThanOrEqualTo(String value) {
            addCriterion("buy_level >=", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelLessThan(String value) {
            addCriterion("buy_level <", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelLessThanOrEqualTo(String value) {
            addCriterion("buy_level <=", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelLike(String value) {
            addCriterion("buy_level like", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelNotLike(String value) {
            addCriterion("buy_level not like", value, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelIn(List<String> values) {
            addCriterion("buy_level in", values, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelNotIn(List<String> values) {
            addCriterion("buy_level not in", values, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelBetween(String value1, String value2) {
            addCriterion("buy_level between", value1, value2, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyLevelNotBetween(String value1, String value2) {
            addCriterion("buy_level not between", value1, value2, "buyLevel");
            return (Criteria) this;
        }

        public Criteria andBuyMethodIsNull() {
            addCriterion("buy_method is null");
            return (Criteria) this;
        }

        public Criteria andBuyMethodIsNotNull() {
            addCriterion("buy_method is not null");
            return (Criteria) this;
        }

        public Criteria andBuyMethodEqualTo(String value) {
            addCriterion("buy_method =", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodNotEqualTo(String value) {
            addCriterion("buy_method <>", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodGreaterThan(String value) {
            addCriterion("buy_method >", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodGreaterThanOrEqualTo(String value) {
            addCriterion("buy_method >=", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodLessThan(String value) {
            addCriterion("buy_method <", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodLessThanOrEqualTo(String value) {
            addCriterion("buy_method <=", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodLike(String value) {
            addCriterion("buy_method like", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodNotLike(String value) {
            addCriterion("buy_method not like", value, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodIn(List<String> values) {
            addCriterion("buy_method in", values, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodNotIn(List<String> values) {
            addCriterion("buy_method not in", values, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodBetween(String value1, String value2) {
            addCriterion("buy_method between", value1, value2, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andBuyMethodNotBetween(String value1, String value2) {
            addCriterion("buy_method not between", value1, value2, "buyMethod");
            return (Criteria) this;
        }

        public Criteria andReboundPercentIsNull() {
            addCriterion("rebound_percent is null");
            return (Criteria) this;
        }

        public Criteria andReboundPercentIsNotNull() {
            addCriterion("rebound_percent is not null");
            return (Criteria) this;
        }

        public Criteria andReboundPercentEqualTo(String value) {
            addCriterion("rebound_percent =", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentNotEqualTo(String value) {
            addCriterion("rebound_percent <>", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentGreaterThan(String value) {
            addCriterion("rebound_percent >", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentGreaterThanOrEqualTo(String value) {
            addCriterion("rebound_percent >=", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentLessThan(String value) {
            addCriterion("rebound_percent <", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentLessThanOrEqualTo(String value) {
            addCriterion("rebound_percent <=", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentLike(String value) {
            addCriterion("rebound_percent like", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentNotLike(String value) {
            addCriterion("rebound_percent not like", value, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentIn(List<String> values) {
            addCriterion("rebound_percent in", values, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentNotIn(List<String> values) {
            addCriterion("rebound_percent not in", values, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentBetween(String value1, String value2) {
            addCriterion("rebound_percent between", value1, value2, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andReboundPercentNotBetween(String value1, String value2) {
            addCriterion("rebound_percent not between", value1, value2, "reboundPercent");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceIsNull() {
            addCriterion("buy_base_price is null");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceIsNotNull() {
            addCriterion("buy_base_price is not null");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceEqualTo(String value) {
            addCriterion("buy_base_price =", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceNotEqualTo(String value) {
            addCriterion("buy_base_price <>", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceGreaterThan(String value) {
            addCriterion("buy_base_price >", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceGreaterThanOrEqualTo(String value) {
            addCriterion("buy_base_price >=", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceLessThan(String value) {
            addCriterion("buy_base_price <", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceLessThanOrEqualTo(String value) {
            addCriterion("buy_base_price <=", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceLike(String value) {
            addCriterion("buy_base_price like", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceNotLike(String value) {
            addCriterion("buy_base_price not like", value, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceIn(List<String> values) {
            addCriterion("buy_base_price in", values, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceNotIn(List<String> values) {
            addCriterion("buy_base_price not in", values, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceBetween(String value1, String value2) {
            addCriterion("buy_base_price between", value1, value2, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andBuyBasePriceNotBetween(String value1, String value2) {
            addCriterion("buy_base_price not between", value1, value2, "buyBasePrice");
            return (Criteria) this;
        }

        public Criteria andProfitPercentIsNull() {
            addCriterion("profit_percent is null");
            return (Criteria) this;
        }

        public Criteria andProfitPercentIsNotNull() {
            addCriterion("profit_percent is not null");
            return (Criteria) this;
        }

        public Criteria andProfitPercentEqualTo(String value) {
            addCriterion("profit_percent =", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentNotEqualTo(String value) {
            addCriterion("profit_percent <>", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentGreaterThan(String value) {
            addCriterion("profit_percent >", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentGreaterThanOrEqualTo(String value) {
            addCriterion("profit_percent >=", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentLessThan(String value) {
            addCriterion("profit_percent <", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentLessThanOrEqualTo(String value) {
            addCriterion("profit_percent <=", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentLike(String value) {
            addCriterion("profit_percent like", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentNotLike(String value) {
            addCriterion("profit_percent not like", value, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentIn(List<String> values) {
            addCriterion("profit_percent in", values, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentNotIn(List<String> values) {
            addCriterion("profit_percent not in", values, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentBetween(String value1, String value2) {
            addCriterion("profit_percent between", value1, value2, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andProfitPercentNotBetween(String value1, String value2) {
            addCriterion("profit_percent not between", value1, value2, "profitPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentIsNull() {
            addCriterion("fall_back_percent is null");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentIsNotNull() {
            addCriterion("fall_back_percent is not null");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentEqualTo(String value) {
            addCriterion("fall_back_percent =", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentNotEqualTo(String value) {
            addCriterion("fall_back_percent <>", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentGreaterThan(String value) {
            addCriterion("fall_back_percent >", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentGreaterThanOrEqualTo(String value) {
            addCriterion("fall_back_percent >=", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentLessThan(String value) {
            addCriterion("fall_back_percent <", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentLessThanOrEqualTo(String value) {
            addCriterion("fall_back_percent <=", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentLike(String value) {
            addCriterion("fall_back_percent like", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentNotLike(String value) {
            addCriterion("fall_back_percent not like", value, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentIn(List<String> values) {
            addCriterion("fall_back_percent in", values, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentNotIn(List<String> values) {
            addCriterion("fall_back_percent not in", values, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentBetween(String value1, String value2) {
            addCriterion("fall_back_percent between", value1, value2, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andFallBackPercentNotBetween(String value1, String value2) {
            addCriterion("fall_back_percent not between", value1, value2, "fallBackPercent");
            return (Criteria) this;
        }

        public Criteria andLoopCountIsNull() {
            addCriterion("loop_count is null");
            return (Criteria) this;
        }

        public Criteria andLoopCountIsNotNull() {
            addCriterion("loop_count is not null");
            return (Criteria) this;
        }

        public Criteria andLoopCountEqualTo(Integer value) {
            addCriterion("loop_count =", value, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountNotEqualTo(Integer value) {
            addCriterion("loop_count <>", value, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountGreaterThan(Integer value) {
            addCriterion("loop_count >", value, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("loop_count >=", value, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountLessThan(Integer value) {
            addCriterion("loop_count <", value, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountLessThanOrEqualTo(Integer value) {
            addCriterion("loop_count <=", value, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountIn(List<Integer> values) {
            addCriterion("loop_count in", values, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountNotIn(List<Integer> values) {
            addCriterion("loop_count not in", values, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountBetween(Integer value1, Integer value2) {
            addCriterion("loop_count between", value1, value2, "loopCount");
            return (Criteria) this;
        }

        public Criteria andLoopCountNotBetween(Integer value1, Integer value2) {
            addCriterion("loop_count not between", value1, value2, "loopCount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNull() {
            addCriterion("total_amount is null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNotNull() {
            addCriterion("total_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountEqualTo(String value) {
            addCriterion("total_amount =", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotEqualTo(String value) {
            addCriterion("total_amount <>", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThan(String value) {
            addCriterion("total_amount >", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThanOrEqualTo(String value) {
            addCriterion("total_amount >=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThan(String value) {
            addCriterion("total_amount <", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThanOrEqualTo(String value) {
            addCriterion("total_amount <=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLike(String value) {
            addCriterion("total_amount like", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotLike(String value) {
            addCriterion("total_amount not like", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIn(List<String> values) {
            addCriterion("total_amount in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotIn(List<String> values) {
            addCriterion("total_amount not in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountBetween(String value1, String value2) {
            addCriterion("total_amount between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotBetween(String value1, String value2) {
            addCriterion("total_amount not between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("total_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("total_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(String value) {
            addCriterion("total_money =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(String value) {
            addCriterion("total_money <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(String value) {
            addCriterion("total_money >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(String value) {
            addCriterion("total_money >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(String value) {
            addCriterion("total_money <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(String value) {
            addCriterion("total_money <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLike(String value) {
            addCriterion("total_money like", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotLike(String value) {
            addCriterion("total_money not like", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<String> values) {
            addCriterion("total_money in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<String> values) {
            addCriterion("total_money not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(String value1, String value2) {
            addCriterion("total_money between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(String value1, String value2) {
            addCriterion("total_money not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}